<template>
	<view class="quality-assurance">
		<sectionCommonVue :column="column" :type="type" />
	</view>
</template>
<script>
import sectionCommonVue from "../../../components/order/section_common.vue";
import log from "../../../plugin/log";
export default {
	components: { sectionCommonVue },
	data() {
		return {
			type: "",
			column: [
				// { type: "selection", fixed: true, width: 50 },
				{
					name: "name",
					label: "序号",
					fixed: true,
					width: 80,
					align: "center",
					emptyString: "--",
				},
				{
					name: "age",
					label: "服务日期",
					sorter: false,
					align: "center",
				},
				{
					name: "sex",
					label: "养殖户",
					filters: { 0: "男", 1: "女" },
					align: "center",
				},
				{ name: "address", label: "地址", align: "center" },
			],
		};
	},
	onLoad(e) {
		this.type = e.type;
	},
};
</script>
<style lang="scss" scoped>
.quality-assurance {
	width: 100%;
	height: 100%;
	::v-deep .u-tabs__wrapper__nav__item {
		flex: 1;
	}
	::v-deep .u-popup {
		flex: 0 !important;
	}
}
</style>
